from mitmproxy import http

def request(flow: http.HTTPFlow) -> None:
    # 打印请求 URL
    print(f"请求 URL: {flow.request.url}")